package com.houxy.repository.model.bo;

import com.houxy.repository.model.entity.Department;
import com.houxy.repository.model.entity.Hospital;

public class ExpertBO {
    private Integer id;

    private Integer hospitalId;

    private Integer departmentId;

    private String name;

    private String sex;

    private Integer age;

    private String skilled;

    private String type;

    private String file;


    private int isDelete;

    /**
     * 医院
     */
    private Hospital hospital;

    /**
     * 科室
     */
    private Department department;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(Integer hospitalId) {
        this.hospitalId = hospitalId;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getSkilled() {
        return skilled;
    }

    public void setSkilled(String skilled) {
        this.skilled = skilled == null ? null : skilled.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getFile() {
        return file;
    }

    public void setFile(String file) {
        this.file = file == null ? null : file.trim();
    }

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }

    public Hospital getHospital() {
        return hospital;
    }

    public void setHospital(Hospital hospital) {
        this.hospital = hospital;
    }

    public Department getDepartment() {
        return department;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }

    @Override
    public String toString() {
        return "ExpertBO{" +
                "id=" + id +
                ", hospitalId=" + hospitalId +
                ", departmentId=" + departmentId +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                ", skilled='" + skilled + '\'' +
                ", type='" + type + '\'' +
                ", file='" + file + '\'' +
                ", isDelete=" + isDelete +
                ", hospital=" + hospital +
                ", department=" + department +
                '}';
    }
}